<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<html>
<head>
	<link type="text/css" rel="stylesheet" href="../<s:property value="#session.themeStyle.mainCss" default="Skin/PM/LightBlue/main.css"/>" />
	<title>用户登录</title>
</head>
<body style="font-size: 12px;">
	<s:form theme="simple">
	<s:hidden name="userName"/>
	<s:hidden name="veriCode"/>
	<div style="margin-left: 10px;height: 20px;height: 20px;margin-top: 30px;"><label for="code">请输入密令：</label></div>
	<div style="height: 25px;height: 25px;"><input type="text" id="code" name="code" value="" style="width: 120px;border: green 1px solid;height: 22px;margin-left: 10px;line-height: 22px;" /></div>
	<div style="margin-left: 30px;margin-top: 5px;"><a href="javascript:void(0);" class="but28" onclick="login();return false;" style="text-decoration: none;">确定</a></div>
	<div style="margin-left: 10px;color: red;height: 25px;height: 25px;"><s:property value="message"/></div>
	</s:form>
	<script src="js/jquery.js"></script>
	<script src="js/jquery.cookie.js" type="text/javascript"></script>
	<script src="js/store.js" type="text/javascript"></script>
	<script type="text/javascript">
		function login(){
			var form = $("form")[0];
			var code = $.trim($("#code").val());
			if(code.length!=6){
				alert("错误的密令！");
				return;
			}
			form.submit();
		}
	</script>
</body>
</html>
